<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2022-12-17 14:44:31
 * @Last Modified time: 2022-12-23 16:34:34
 */
namespace app\common\dao\store;

use frank\base\BaseDao;
use app\common\model\store\GoodsLabelGroupModel;

/**
 * Class GoodsLabelGroupDao
 * @package app\common\dao\store
 */
class GoodsLabelGroupDao extends BaseDao
{
    /**
     * 设置模型名
     */
    protected function setModel(): string
    {
        return GoodsLabelGroupModel::class;
    }
    
    /**
     * 获取全部
     */
    public function getGoodsLabelGroupSelect(array $where = [])
    {
        return $this->search($where)->order('id DESC')->select()->toArray();
    }
}
